package com.cljz.makepassenger.model.net.bean;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by apple on 2017/6/7.
 */

public class GetBillListBean implements IModel {


    /**
     * error_code : 0
     * msg : success
     * data : {"userMoney":"500.00","billList":[{"content":"points exchange","user_money":"100.00","in_out":"0","bill_type":"20","status":"0","add_time":"01/01/1970 10:46:40am","pay_type":"20","error_msg":"提现失败啦"},{"content":"withdraw","user_money":"200.00","in_out":"1","bill_type":"100","status":"0","add_time":"01/01/1970 10:46:40am","pay_type":"10","error_msg":"提现失败啦"}]}
     */

    private String error_code;
    private String msg;
    private DataBean data;

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public static class DataBean {
        /**
         * userMoney : 500.00
         * billList : [{"content":"points exchange","user_money":"100.00","in_out":"0","bill_type":"20","status":"0","add_time":"01/01/1970 10:46:40am","pay_type":"20","error_msg":"提现失败啦"},{"content":"withdraw","user_money":"200.00","in_out":"1","bill_type":"100","status":"0","add_time":"01/01/1970 10:46:40am","pay_type":"10","error_msg":"提现失败啦"}]
         */

        private String userMoney;
        private List<BillListBean> billList;

        public String getUserMoney() {
            return userMoney;
        }

        public void setUserMoney(String userMoney) {
            this.userMoney = userMoney;
        }

        public List<BillListBean> getBillList() {
            return billList;
        }

        public void setBillList(List<BillListBean> billList) {
            this.billList = billList;
        }

        public static class BillListBean {
            /**
             * content : points exchange
             * user_money : 100.00
             * in_out : 0
             * bill_type : 20
             * status : 0
             * add_time : 01/01/1970 10:46:40am
             * pay_type : 20
             * error_msg : 提现失败啦
             */

            private String content;
            private String user_money;
            private String in_out;
            private String bill_type;
            private String status;
            private String add_time;
            private String pay_type;
            private String error_msg;
            private boolean turnShow = false;

            public boolean isTurnShow() {
                return turnShow;
            }

            public void setTurnShow(boolean turnShow) {
                this.turnShow = turnShow;
            }


            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getUser_money() {
                return user_money;
            }

            public void setUser_money(String user_money) {
                this.user_money = user_money;
            }

            public String getIn_out() {
                return in_out;
            }

            public void setIn_out(String in_out) {
                this.in_out = in_out;
            }

            public String getBill_type() {
                return bill_type;
            }

            public void setBill_type(String bill_type) {
                this.bill_type = bill_type;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getAdd_time() {
                return add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public String getPay_type() {
                return pay_type;
            }

            public void setPay_type(String pay_type) {
                this.pay_type = pay_type;
            }

            public String getError_msg() {
                return error_msg;
            }

            public void setError_msg(String error_msg) {
                this.error_msg = error_msg;
            }
        }
    }
}
